﻿@model BrnMall.Web.MallAdmin.Models.StoreAdminLogListModel

@section header{
<title>店铺管理日志列表</title>
<link type="text/css" rel="stylesheet" href="/admin_mall/content/css/site.css"/>
<script type="text/javascript" src="/admin_mall/scripts/jquery.js"></script>
<script type="text/javascript" src="/admin_mall/content/my97datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="/admin_mall/scripts/showlist.js"></script>
<link rel="stylesheet" type="text/css"  href="/admin_mall/content/jbox/Skins/Default/jbox.css"/>
<script type="text/javascript" src="/admin_mall/content/jbox/jquery.jBox-2.3.min.js"></script>
<script type="text/javascript" src="/admin_mall/scripts/selectlist.js"></script>
}

@section body{
<h1 class="rightH1">
日志管理 &gt;&gt; 店铺管理日志列表
<div class="right">
<div class="clear"></div>
</div>
<div class="clear"></div>
</h1>
@using (Html.BeginForm("storeadminloglist", "log"))
{
<div class="dataListSearch">
<table height="32">
        <tbody>
        <tr>
        <td width="35"><img id="searchImg" src="/admin_mall/content/images/search1.gif"/></td>
        <td>商品店铺：</td>
        <td width="100">
        <div class="selectBt">
            <input type="button" value="@Model.StoreName" onclick="openStoreSelectLayer(this)"  style="height:22px; line-height:22px;background:url(/admin_mall/content/images/selectbgico.gif) no-repeat 6px center; padding-left:22px; padding-right:10px;"/>
            <input type="hidden" class="StoreId" id="StoreId" name="StoreId" value="@Model.StoreId" />
            <input type="hidden" class="StoreName" id="StoreName" name="StoreName" value="@Model.StoreName" />
        </div>
        </td>
        <td>&nbsp;&nbsp;&nbsp;操作：</td>
        <td width="130">
          	@Html.TextBox("Operation", Model.Operation, new { height = "18" })
        </td>
         <td>&nbsp;&nbsp;&nbsp;开始时间：</td>
        <td width="130">
          	@Html.TextBox("StartTime", Model.StartTime, new { height = "18", onfocus = "WdatePicker({el:'StartTime'})" })
        </td>
        <td>&nbsp;&nbsp;&nbsp;结束时间：</td>
        <td width="130">
          	@Html.TextBox("EndTime", Model.EndTime, new { height = "18", onfocus = "WdatePicker({el:'EndTime'})" })
        </td>
       <td>
       <input id="SearchLog" name="SearchLog" type="image" class="searchBut submit" src="/admin_mall/content/images/s.jpg" />
       </td>
      </tr>
     </tbody></table>
</div>

<div class="dataList">
<table width="100%">
<thead>
  <tr>
    <th width="40" align="center"><input type="checkbox" id="allSelect"/></th>
    <th width="130" align="left" >店铺名称</th>
    <th width="130" align="left" >用户名称</th>
    <th align="left" >操作描述</th>
    <th width="120" align="left" >操作IP</th>
    <th width="130" align="left" >操作时间</th>
    <th width="60" align="left">管理操作</th>
    </tr>
</thead>
  <tbody>
  @foreach (StoreAdminLogInfo info in Model.StoreAdminLogList)
  {
  <tr>
    <td align="center"><input type="checkbox" value="@info.LogId" selectItem="true" name="logIdList" /></td>
    <td>@info.StoreName</td>
    <td>@info.NickName</td>
    <td>@info.Operation</td>
    <td>@info.IP</td>
    <td>@info.OperateTime</td>
    <td>
        @Html.ActionLink("[删除]", "delstoreadminlog", new { logIdList = info.LogId }, new { @class = "deleteOperate" })
    </td>
    </tr>
  }
</tbody>
</table>
</div>
<div class="dataListEdit">
<a href="#" delUrl="@Url.Action("delstoreadminlog")" class="batch batchDel">批量删除</a>
<div class="page">
    @Html.MallAdminPager(Model.PageModel)
</div>
</div>
}
}